package org.x.usermod.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ResetMobileDTO {
    @NotNull(message = "用户id不能为空")
    private Long userId;  //用userId表示当前登录用户的id
    @NotNull(message = "旧手机号不能为空")
    private String oldMobile;
    @NotNull(message = "新手机号不能为空")
    private String newMobile;
    @NotNull(message = "验证码不能为空")
    private String code;
}
